package com.vhans.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 存储对象 storage
 *
 * @author vhans
 * @date 2023-05-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Storage {

    /**
     * 存储ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 类型(1ESSD云盘 2高效云盘 3SSD云盘 4ESSDAutoPL)
     */
    private Integer type;

    /**
     * 盘类型(1系统盘 2数据盘)
     */
    private Integer discType;

    /**
     * 存储容量
     */
    private Integer capacity;

}
